package ModelLayer;
/**
 * Class PartOrder : Class to hold a partorder for our order system.
 * 
 * Iteration 1
 * 
 * @author (Jan Skrubbeltrang) 
 * @version (28052013)
 */
public class PartOrder
{
    // instance variables
    
    private int quantity;
    private Item item;
    

    /**
     * Constructor for objects of class PartOrder
     * 
     * @param item Item to be stored in the partorder
     * @param quantity The quantity of the item in the partorder
     */
    public PartOrder(Item item, int quantity)
    {
        this.item = item;
        this.quantity = quantity;
        // initialise instance variables
    }


	public int getQuantity() {
		return quantity;
	}


	public Item getItem() {
		return item;
	}
}
